﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace QuanLyKhachSan
{
    public partial class UC_TienNghi_List : System.Web.UI.UserControl
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            try
            {
                pnlTienNghi.Load += new EventHandler(pnlTienNghi_Load);
                if (!Page.IsPostBack)
                {
                    
                }
            }
            catch (Exception)
            {
            
                throw;
            }
        }

        void pnlTienNghi_Load(object sender, EventArgs e)
        {
            try
            {
                lstTienNghi.DataSource = TienNghiBLL.TienNghi_GetItems();
                lstTienNghi.DataBind();
            }
            catch (Exception ex)
            {                
                throw ex;
            }
        }
        
}
}